//
//  PersonModel.m
//  17-HomeWork
//
//  Created by dllo on 16/8/6.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "PersonModel.h"

@implementation PersonModel
- (instancetype)initWithName:(NSString *)name imageName:(NSString *)imageName address:(NSString *)address iphone:(NSString *)iphone {
    self = [super init];
    if (self) {
        _name = name;
        _imageName = imageName;
        _address = address;
        _iphone = iphone;
    }
    return self;
}

+ (instancetype)contactWithName:(NSString *)name imageName:(NSString *)imageName address:(NSString *)address iphone:(NSString *)iphone {
    return [[PersonModel alloc] initWithName:name imageName:imageName address:address iphone:iphone];
}


@end
